package com.tmeone.erpone.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tmeone.erpone.entity.SRole;
import com.tmeone.erpone.mapper.SRoleMapper;
import com.tmeone.erpone.service.ISRoleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author tmeone
 * @since 2021-04-16
 */
@Service
public class SRoleServiceImpl extends ServiceImpl<SRoleMapper, SRole> implements ISRoleService {
    @Autowired
    private SRoleMapper sRoleMapper;


    @Override
    public IPage<SRole> pageSRole(IPage<SRole> page) {
        return sRoleMapper.pageSRole(page);
    }
}
